package com.yanze.service;

import com.yanze.pojo.Friendcircle;

import java.util.List;

public interface FriendCircleService {

    //根据userid添加动态
    int publishDynamics(Friendcircle friendcircle);

    //根据userid查询动态
    List<Friendcircle> getUserDynamics(String userid,int page,int pageSize);

    //根据id删除动态
    int deleteDynamicById(Long friendid);

    //获取朋友圈所有动态，分页加载
    List<Friendcircle> getAllDynamics(int page,int pageSize);
}
